home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1996 June / MACPOWER-1996-06.ISO.7z / MACPOWER-1996-06.ISO / AMUG / UTILITY_40 / MacShell 0.54b / MacShell.0.54b / bin / wc / wc.rsrc / help_23787_wc
Text File  |  1995-01-03  |  947b  |  39 lines

  1. NAME
  2.      wc - display a count of lines, words and characters
  3.  
  4. SYNOPSIS
  5.      wc [ -lwc ] [ filename ...  ]
  6.  
  7. DESCRIPTION
  8.      wc counts lines, words, and characters in filenames,  or  in
  9.      the  standard input if no filename appears.  It also keeps a
  10.      total count for all named files.  A  word  is  a  string  of
  11.      characters delimited by SPACE, TAB, or NEWLINE characters.
  12.  
  13. OPTIONS
  14.      When filenames are specified  on  the  command  line,  their
  15.      names will be printed along with the counts.
  16.  
  17.      The default is -lwc (count lines, words, and characters).
  18.  
  19.      l    Count lines.
  20.  
  21.      w    Count words.
  22.  
  23.      c    Count characters.
  24.  
  25. EXAMPLES
  26.     MacShell> wc file
  27.             0        4       23
  28.     MacShell> wc -l file
  29.             0  file
  30.     MacShell> wc -lc file file
  31.             0       23  file
  32.             0       23  file
  33.             0       46  Total
  34.  
  35. AUTHOR
  36.        Adolfo Villafiorita (adolfo@frege.mrg.dist.unige.it)
  37.  
  38.